package com.example.pojo.aboutUser;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class SystemRole {

    private Integer id;

    private String roleName;

    private String roleDescription;

    // 角色状态（0禁用、1启用）
    private String roleState;

    // 逻辑删除
    private Boolean isDelete;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill = FieldFill.INSERT)
    private Integer createPerson;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updatePerson;

}
